﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;

namespace Model
{
    [DataContract]
    public class TradeInfo
    {
        public TradeInfo()
        { }
        #region Model

        /// <summary>
        /// primary key
        /// </summary>
        [DataMember]
        public int Id { get; set; }

        /// <summary>
        /// 0---Taxi,1---PhoneUser
        /// </summary>
        [DataMember]
        public int Type { get; set; }

        /// <summary>
        /// A taxi driver (or passengers) mobile phone number (Uploader Phone Numeber)
        /// </summary>
        [DataMember]
        public string PhoneNumber { get; set; }

        /// <summary>
        /// Trade successful time
        /// </summary>
        [DataMember]
        public DateTime TradeTime { get; set; }

        /// <summary>
        /// Transaction object cell phone number 
        /// </summary>
        [DataMember]
        public string PhoneNumber2 { get; set; }

        #endregion Model

    }
}
